package com.rimi.lzhg.dao;

import com.rimi.lzhg.entry.Menu;
import com.rimi.lzhg.entry.MenuExample;
import com.rimi.lzhg.entry.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MenuMapper {

    int countMenuByUserId(Order order, @Param("menuId")Integer menuId);

    int countByExample(MenuExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Menu record);

    int insertSelective(Menu record);

    List<Menu> selectByExample(MenuExample example);

    Menu selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Menu record);

    int updateByPrimaryKey(Menu record);
}